//
//  M_Admin.h
//  YunDongAdmin
//
//  Created by lqq on 2018/9/6.
//  Copyright © 2018年 cloudfighting.com. All rights reserved.
//

#import "M_Base.h"


/**
 管理员类型
 */
typedef NS_ENUM(NSInteger, AdminType) {
    AdminType_Administrator = 1,//管理员
    AdminType_ShopManager = 2,//店长
    AdminType_Coach = 3,//教练
};


/**
 管理员性别类型
 */
typedef NS_ENUM(NSInteger, AdminSexType) {
    AdminSexType_Male = 1,//男
    AdminSexType_Female = 2,//女
};

@class M_Gym;
@interface M_Admin : M_Base
@property (nonatomic, copy) NSString *account;//账户
@property (nonatomic, copy) NSString *accountPwd;//密码
@property (nonatomic, copy) NSString *accountId;//账户ID
@property (nonatomic, strong) M_Gym *gym;
@property (nonatomic, assign) AdminType roleId;//角色 1=管理员; 2=店长 ; 3=教练 ,
@property (nonatomic, copy) NSString *userAvatar;//头像
@property (nonatomic, copy) NSString *userMobile;//电话
@property (nonatomic, copy) NSString *userName;//用户名称
@property (nonatomic, copy) NSString *userTitle;//职称
@property (nonatomic, assign) AdminSexType userSex;//1=男,2=女 ,
@end
